package com.egao.common.core.damon.utils;

import cn.hutool.cache.Cache;
import cn.hutool.cache.CacheUtil;
import cn.hutool.cache.impl.TimedCache;

/**
 * @author Damon
 * @create 2020-07-02 14:43
 */
public class CacheUtils {
    public static Cache<String,String> fifoCache = CacheUtil.newFIFOCache(100);
    //创建缓存，默认秒
    public static TimedCache<String, String> timedCache = CacheUtil.newTimedCache(1000 * 7200);//7200为2小时

}
